package com.hefeng.unit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.lang.reflect.Field;
import java.util.List;

/**
 * 翼捷报警主机信息维护 修改
 *
 * @date : 2022-9-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "翼捷报警主机信息维护", description = "翼捷报警主机信息维护")
public class AegisAlarmHostInfo implements Serializable {

    /**
     * 报警主机ID
     */
    @ApiModelProperty(name = "报警主机ID", notes = "报警主机ID")
    @TableId(value = "ALARM_HOST_ID", type = IdType.ASSIGN_UUID)
    private String alarmHostId;

    /**
     *  翼捷主机的编号
     *  驰诚主机的IMEI号
     */
    @ApiModelProperty(name = "报警主机编号", notes = "报警主机编号")
    private String alarmHostCode;

    /***
     * productKey 驰诚主机独享
     * */
    @TableField("HOST_PRODUCT_KEY")
    private String hostProductKey;


    /***
     * 主机厂家(字典类型)
     * */
    @TableField("HOST_FACTORY")
    private String hostFactory;

    /**
     * 报警主机名
     */
    @ApiModelProperty(name = "报警主机名", notes = "报警主机名")
    private String alarmHostName;
    /**
     * 客户ID;关联用户表，按业务分居民用户和工业用户
     */
    @ApiModelProperty(name = "客户ID", notes = "关联用户表，按业务分居民用户和工业用户")
    private String clientId;
    /**
     * 客户类型;0:居民端  1:工业端
     */
    @ApiModelProperty(name = "客户类型", notes = "0:居民端  1:工业端")
    private Integer clientType;

    /**
     * 安装楼层
     */
    @ApiModelProperty(name = "安装楼层", notes = "安装楼层")
    private String installationFloor;

    /**
     * 具体位置
     */
    @ApiModelProperty(name = "具体位置", notes = "具体位置")
    private String specificLocation;

    /**
     * 主机型号
     */
    @TableField("HOST_MODEL")
    private String hostModel;


    /**
     * 设备详情数据
     */
    @TableField(exist = false)
    private List<AegisDetectorInfo> aegisDetectorInfoList;



}